package com.taco.springcloud.generate.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * 表查询参数DTO
 *
 * @author Yu
 * @date 2019/10/03 17:07
 **/

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SelectTableDTO", description = "表查询DTO对象")
public class SelectTableDTO extends PageDTO {

    @NotBlank
    @ApiModelProperty(value = "表空间名称", example = "test")
    private String schema;

    @ApiModelProperty(value = "表名称", example = "articles")
    private String tableName;

}
